package com.bwsoft.api.service;

import java.io.File;

import com.bwsoft.api.pojo.ResponsePojo;

public interface UserService {
	public static final String NAME = "apiUserServiceImpl";
	
	ResponsePojo personRegister(Integer accountType, String phone, String code,
			String password);

	boolean isImage(String[] imgContentType);

	boolean isFitSize(File[] img);

	ResponsePojo libRegister(Integer accountType, String compName,
			Integer compNature, String linkMan, String phone, String address,
			String email, String password, String fax, Boolean cnasFlag,
			File[] img, String[] imgFileName);

	ResponsePojo userLogin(String account, String password);

	ResponsePojo userInfo(String userid);

	ResponsePojo changePwd(String account, String code, String password);

	ResponsePojo updatePersonInfo(String userid, String nickname, String email,
			String compName, String address, String birthday, String sex);

	ResponsePojo updateLibInfo(String userid, String nickname, String linkMan,
			String phone, String address, String fax);

	ResponsePojo updateHeadImage(String userid, File[] img, String[] imgFileName);

	ResponsePojo returnLoginMsg(String userid, String phoneOS,
			String phoneModel, String registrationID);



}
